﻿using System;

namespace Joy.Erp.BasicArchives.Core
{
    /// <summary>
    /// 单据状态
    /// </summary>
    [Flags]
    public enum DocumentStatus
    {
        /// <summary>
        /// 开立
        /// </summary>
        Open = 0,

        /// <summary>
        /// 提交
        /// </summary>
        Waiting = 1 << 0,

        /// <summary>
        /// 已审核
        /// </summary>
        Approved = 1 << 1,

        /// <summary>
        /// 已关闭
        /// </summary>
        Closed = 1 << 2,
    }
}